#include <iostream>
using namespace std;

int main()
{
    int a,b,c,d,h,g;

    cout<<"vvedite a - ";
    cin>>a;
    cout<<"vvedite b - ";
    cin>>b;
    cout<<"vvedite c - ";
    cin>>c;


    a>0 ?  d=1: d=0;
    b>0 ?  h=1: h=0;
    c>0 ?  g=1: g=0;

    cout<<"esli tolko odno chislo polojitelnoe to 1 inache 0 -- "<<((d+h+g)==1);


return 0;
}

